Skip to content

[maven-4.0.x] Upgrade plugin dependencies (extra-enforcer-rules) in mvnup#12108

Merged
gnodet merged 2 commits into
apache:maven-4.0.xfrom
gnodet:backport/maven-4.0.x/pr-12051-v2
May 19, 2026
Merged

[maven-4.0.x] Upgrade plugin dependencies (extra-enforcer-rules) in mvnup#12108
gnodet merged 2 commits into
apache:maven-4.0.xfrom
gnodet:backport/maven-4.0.x/pr-12051-v2

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented May 19, 2026

Summary

Backport of #12051 (merged to master) — adds extra-enforcer-rules to mvnup plugin dependency handling.

Cherry-picked from the squash-merge commit on master onto the current maven-4.0.x branch (post-domtrip migration #12082).

Replaces #12071 which had conflicts after the domtrip migration.

Claude Code on behalf of Guillaume Nodet

…che#12051)

extra-enforcer-rules versions before 1.4 use DependencyGraphBuilder
.buildDependencyGraph(MavenProject, ArtifactFilter) which was removed
in Maven 4. The mvnup plugin upgrade strategy now also checks and
upgrades dependencies declared inside plugin configurations.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gnodet gnodet added this to the 4.0.0-rc-6 milestone May 19, 2026
…eStrategyTest

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet merged commit ef1ce18 into apache:maven-4.0.x May 19, 2026
41 of 42 checks passed
@github-actions
Copy link
Copy Markdown

@gnodet Please assign appropriate label to PR according to the type of change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant